﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GNSCore.Helpers;
using GNSCore.Model;
using System.Text;

namespace GNSWebSite.Pages
{
    public partial class Profile : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Page.User != null && !IsPostBack)
            {
                ucRegisterSettings.ShowUserSettings();
            }


        }

        protected void btnSaveSettings_Click(object sender, EventArgs e)
        {
            ucRegisterSettings.justCreatedUserName =
               Page.User.Identity.Name.ToString();
            ucRegisterSettings.ModifyUserSettings();
            ucRegisterSettings.EMailAdress = "eslutsenko@gmail.com";
        }

    }
}

